package date1201.annotation;

import org.springframework.stereotype.Component;

/**
 * @author Yue
 * @date 2017年12月1日 上午10:56:22 
 */
@Component

public class School {
	/**
	 * 名称
	 */
	private String name;
	/**
	 * 成员总数
	 */
	private int memberCount;
	/**
	 * 成立时间
	 */
	private String establishment;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getMemberCount() {
		return memberCount;
	}
	public void setMemberCount(int memberCount) {
		this.memberCount = memberCount;
	}
	public String getEstablishment() {
		return establishment;
	}
	public void setEstablishment(String establishment) {
		this.establishment = establishment;
	}
	@Override
	public String toString() {
		return "School [name=" + name + ", memberCount=" + memberCount + ", establishment=" + establishment + "]";
	}
	
}
